<template>
	<div class="link-app-box">
		<div class="link-app-close" @click="clickLinkAppClose"></div>
		<div class="link-app-logo"></div>
		<div class="link-app-text-box">
			<p>中国银行手机银行</p>
			<p>科技引领 创新驱动</p>
		</div>
		<div class="link-app-btn" @click="clickLinkAppBtn">
			立即打开
		</div>
	</div>
</template>

<script>
		export default {
		data() {
			return {
			}
		},
		created: function() {

		},
		activated: function() {

		},
		methods: {
			clickLinkAppClose(){
				this.$emit('closeLinkApp',{type:'close'})
			},
			clickLinkAppBtn(){
				window.location.href = "https://shibalive.yundzh.com/outlink/index.php?source="+this.$source
			}
		}
	}
</script>

<style scoped="scoped">
	.link-app-btn {
		width: 134px;
		height: 52px;
		background: rgba(0, 0, 0, 1);
		opacity: 0.7;
		background: #fb4951;
		text-align: center;
		color: white;
		line-height: 52px;
		font-size: 22px;
		border-radius: 6px;
	}
	
	.link-app-text-box {
		width: 400px;
		height: 80px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: flex-start;
		/*background: forestgreen;*/
	}
	
	.link-app-text-box p:first-child {
		font-size: 30px;
		font-weight: 400;
		color: rgba(247, 115, 115, 1);
		margin-bottom: 13px;
	}
	
	.link-app-text-box p:last-child {
		font-size: 22px;
		font-weight: 400;
		color: rgba(255, 255, 255, 1);
	}
	
	.link-app-box {
		width: 750px;
		height: 110px;
		background: rgba(0, 0, 0, .7);
		position: fixed;
		left: 0;
		bottom: 0;
		z-index: 1000000;
		display: flex;
		align-items: center;
	}
	
	.link-app-close {
		width: 26px;
		height: 26px;
		background: url(../../assets/images/zgyh/link-app-close.png);
		background-size: 26px 26px;
		margin: 0 19px 0 25px;
	}
	
	.link-app-logo {
		width: 80px;
		height: 80px;
		background: url(../../assets/images/zgyh/link-app-logo.png);
		background-size: 80px 80px;
		margin-right: 18px;
	}
</style>